<template>
  <div id="app">
    我是app
    {{ count }}
    <son1></son1>
  </div>
</template>

<script>
import son1 from './components/son1.vue'
// import store from '../store/index.js'
import { mapState } from 'vuex'
export default {
  components: {
    son1
  },
  computed: {
    ...mapState(['count', 'title'])
  }
}
</script>

<style lang="less" scoped>
  div{
    width: 1500px;
    height: 300px;
    margin: 0 auto;
    border: 1px solid black;
  }
</style>
